package design.create.builder;

/**
 * @author zxs
 * @since 2020/05/21
 */
public class Director {

    private Builder builder;

    public Director(Builder builder){
        this.builder = builder;
    }

    public A createA(){
        A a = new A();
        builder.a(a);
        builder.b(a);
        builder.c(a);
        return a;
    }
}
